<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: silence
  Date: 17-5-29
  Time: 下午4:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">

    <title>注册</title>

    <!-- Bootstrap core CSS -->
    <link href="<c:url value="/resources/lib/bootstrap/css/bootstrap.min.css"/>" rel="stylesheet">


</head>

<body>

<div class="container">

    <form class="form-signin" action="<c:url value="/user"/>" method="post">
        <h2 class="form-signin-heading">Please sign up</h2>
        <br>

        <%--<label for="username" class="sr-only"></label>--%>
        <input type="text" class="form-control" name="username" id="username" placeholder="username" required autofocus>
        <br>

        <%--<label for="email" class="sr-only">Email    address</label>--%>
        <input type="email" id="email" name="email" class="form-control" placeholder="Email address" required>
        <br>

        <%--<label for="password" class="sr-only">Password</label>--%>
        <input type="password" id="password" name="password" class="form-control" placeholder="Password" required>
        <br>

        <%--<div class="checkbox">--%>
            <%--<label>--%>
                <%--<input type="checkbox" value="remember-me"> Remember me--%>
            <%--</label>--%>
        <%--</div>--%>
        <button class="btn btn-lg btn-primary btn-block" type="submit">Sign Up</button>
        <br>

        <a href="<c:url value="/login"/>" class="">已有账号 登录</a>
    </form>

</div> <!-- /container -->


<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="<c:url value="/resources/lib/jquery/jquery.min.js"/>"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="<c:url value="/resources/lib/bootstrap/js/bootstrap.min.js"/>"></script>

</body>
</html>
